package com.shycloud.mido.opter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "stock_exchange_goods_info")
public class StockExchangeGoodsInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 换货单ID
     */
    @TableField(value = "exchange_goods_id")
    private Integer exchangeGoodsId;

    /**
     * 商品ID
     */
    @TableField(value = "goods_id")
    private Integer goodsId;

    /**
     * 数量
     */
    @TableField(value = "`count`")
    private Integer count;

    public static final String COL_ID = "id";

    public static final String COL_EXCHANGE_GOODS_ID = "exchange_goods_id";

    public static final String COL_GOODS_ID = "goods_id";

    public static final String COL_COUNT = "count";
}